#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_XPM_Image.H>
#include <FL/Enumerations.H>
#include <FL/fl_draw.H>
//#include "final_designer_1.xpm"

class MyWin : public Fl_Window {
  Fl_XPM_Image myimg; 

public:
  MyWin(int w, int h) : Fl_Window(w, h), myimg("final_designer_1.xpm") {
  }

protected:
  virtual void draw() {
    fl_color(FL_CYAN);
    fl_rectf(0,0,40,512);
    myimg.draw(2, 3);
  };
};

int main(int argc, char **argv) {
  MyWin *window = new MyWin(40,528);
  // Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!");
  // box->box(FL_UP_BOX);
  // box->labelfont(FL_BOLD+FL_ITALIC);
  // box->labelsize(36);
  // box->labeltype(FL_SHADOW_LABEL);
  window->end();
  window->show(argc, argv);
  return Fl::run();
}
